<template>
    <span>
        <el-button type="success" text @click="onclick">显示跟踪</el-button>
    </span>

</template>

<script setup lang="ts">
import $cmpnt from "xcore/cmpnt"
import $designer from "xcore/designer"
import $render from "xcore/render";
import $data from "xcore/data";
import _ from "lodash";
const onclick = () => {
    console.log($cmpnt, $designer, $render, $data, $data.func.exportCmpnt($data.store.page))
    // let names = _.values($cmpnt.widgets).map((cmpnt) => {
    //     return { label: cmpnt.ctl.text, value: cmpnt.ctl.name }
    // })
    // console.log(JSON.stringify(names))
}
</script>

<style></style>